package com.tj.pystandard.tjapi.teacher.dao;

import com.tj.pystandard.tjapi.common.vo.UserResVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


import java.util.List;

/**
 * TO DO
 *
 * @author tangjing
 * @date 2021/10/22 17:06
 */
@Mapper
public interface UserMapper {


    /**
     * 登录
     *
     * @param userEntity 用户信息
     * @return 结果集
     */
    @Select("SELECT * FROM websocket.user order by create_time desc ")
    List<UserResVO> pageUser();
}
